<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>MeteoLib参考文档: 类: Cartographic</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">类: Cartographic</h1>

    




<section>

<header>
    
        <h2>
        Cartographic
        </h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    

    <h4 class="name" id="Cartographic"><span class="type-signature"></span>new Cartographic<span class="signature">(longitude<span class="signature-attributes">opt</span>, latitude<span class="signature-attributes">opt</span>, height<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>

    



<div class="description">
    A position defined by longitude, latitude, and height.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>longitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    0.0
                
                </td>
            

            <td class="description last">The longitude, in radians.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>latitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    0.0
                
                </td>
            

            <td class="description last">The latitude, in radians.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>height</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    0.0
                
                </td>
            

            <td class="description last">The height, in meters, above the ellipsoid.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5190">line 5190</a>
    </li></ul></dd>
    

    

    
    <dt class="tag-see">See:</dt>
    <dd class="tag-see">
        <ul>
            <li><a href="Ellipsoid.html">Ellipsoid</a></li>
        </ul>
    </dd>
    

    
</dl>
















    
    </div>

    

    

    

     

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id=".ZERO"><span class="type-signature">(static, constant) </span>ZERO<span class="type-signature"> :<a href="Cartographic.html">Cartographic</a></span></h4>




<div class="description">
    An immutable Cartographic instance initialized to (0.0, 0.0, 0.0).
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5392">line 5392</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="height"><span class="type-signature"></span>height<span class="type-signature"> :Number</span></h4>




<div class="description">
    The height, in meters, above the ellipsoid.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Number</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-default">Default Value:</dt>
    <dd class="tag-default"><ul class="dummy">
            <li>0.0</li>
        </ul></dd>
    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5210">line 5210</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="latitude"><span class="type-signature"></span>latitude<span class="type-signature"> :Number</span></h4>




<div class="description">
    The latitude, in radians.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Number</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-default">Default Value:</dt>
    <dd class="tag-default"><ul class="dummy">
            <li>0.0</li>
        </ul></dd>
    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5203">line 5203</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="longitude"><span class="type-signature"></span>longitude<span class="type-signature"> :Number</span></h4>




<div class="description">
    The longitude, in radians.
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Number</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-default">Default Value:</dt>
    <dd class="tag-default"><ul class="dummy">
            <li>0.0</li>
        </ul></dd>
    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5196">line 5196</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
    

    
        <h3 class="subsection-title">Methods</h3>

        
            

    

    <h4 class="name" id=".clone"><span class="type-signature">(static) </span>clone<span class="signature">(cartographic, result<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Cartographic.html">Cartographic</a>}</span></h4>

    



<div class="description">
    Duplicates a Cartographic instance.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>cartographic</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">The cartographic to duplicate.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>result</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The object onto which to store the result.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5333">line 5333</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    The modified result parameter or a new Cartographic instance if one was not provided. (Returns undefined if cartographic is undefined)
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".equals"><span class="type-signature">(static) </span>equals<span class="signature">(left<span class="signature-attributes">opt</span>, right<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>

    



<div class="description">
    Compares the provided cartographics componentwise and returns
<code>true</code> if they are equal, <code>false</code> otherwise.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>left</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The first cartographic.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>right</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The second cartographic.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5354">line 5354</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <code>true</code> if left and right are equal, <code>false</code> otherwise.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Boolean</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".equalsEpsilon"><span class="type-signature">(static) </span>equalsEpsilon<span class="signature">(left<span class="signature-attributes">opt</span>, right<span class="signature-attributes">opt</span>, epsilon)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>

    



<div class="description">
    Compares the provided cartographics componentwise and returns
<code>true</code> if they are within the provided epsilon,
<code>false</code> otherwise.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>left</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The first cartographic.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>right</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The second cartographic.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>epsilon</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">The epsilon to use for equality testing.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5373">line 5373</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Boolean</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".fromCartesian"><span class="type-signature">(static) </span>fromCartesian<span class="signature">(cartesian, ellipsoid<span class="signature-attributes">opt</span>, result<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Cartographic.html">Cartographic</a>}</span></h4>

    



<div class="description">
    Creates a new Cartographic instance from a Cartesian position. The values in the
resulting object will be in radians.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>cartesian</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The Cartesian position to convert to cartographic representation.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ellipsoid</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Ellipsoid.html">Ellipsoid</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    Ellipsoid.WGS84
                
                </td>
            

            <td class="description last">The ellipsoid on which the position lies.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>result</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The object onto which to store the result.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5279">line 5279</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    The modified result parameter, new Cartographic instance if none was provided, or undefined if the cartesian is at the center of the ellipsoid.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".fromDegrees"><span class="type-signature">(static) </span>fromDegrees<span class="signature">(longitude, latitude, height<span class="signature-attributes">opt</span>, result<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Cartographic.html">Cartographic</a>}</span></h4>

    



<div class="description">
    Creates a new Cartographic instance from longitude and latitude
specified in degrees.  The values in the resulting object will
be in radians.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>longitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The longitude, in degrees.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>latitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The latitude, in degrees.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>height</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    0.0
                
                </td>
            

            <td class="description last">The height, in meters, above the ellipsoid.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>result</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The object onto which to store the result.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5252">line 5252</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    The modified result parameter or a new Cartographic instance if one was not provided.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".fromRadians"><span class="type-signature">(static) </span>fromRadians<span class="signature">(longitude, latitude, height<span class="signature-attributes">opt</span>, result<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Cartographic.html">Cartographic</a>}</span></h4>

    



<div class="description">
    Creates a new Cartographic instance from longitude and latitude
specified in radians.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>longitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The longitude, in radians.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>latitude</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The latitude, in radians.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>height</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    0.0
                
                </td>
            

            <td class="description last">The height, in meters, above the ellipsoid.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>result</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The object onto which to store the result.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5223">line 5223</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    The modified result parameter or a new Cartographic instance if one was not provided.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id=".toCartesian"><span class="type-signature">(static) </span>toCartesian<span class="signature">(cartographic, ellipsoid<span class="signature-attributes">opt</span>, result<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Cartesian3.html">Cartesian3</a>}</span></h4>

    



<div class="description">
    Creates a new Cartesian3 instance from a Cartographic input. The values in the inputted
object should be in radians.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>cartographic</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">Input to be converted into a Cartesian3 output.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ellipsoid</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Ellipsoid.html">Ellipsoid</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    Ellipsoid.WGS84
                
                </td>
            

            <td class="description last">The ellipsoid on which the position lies.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>result</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">The object onto which to store the result.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5318">line 5318</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    The position
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Cartesian3.html">Cartesian3</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="clone"><span class="type-signature"></span>clone<span class="signature">(result<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Cartographic.html">Cartographic</a>}</span></h4>

    



<div class="description">
    Duplicates this instance.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>result</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The object onto which to store the result.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5400">line 5400</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    The modified result parameter or a new Cartographic instance if one was not provided.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="equals"><span class="type-signature"></span>equals<span class="signature">(right<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>

    



<div class="description">
    Compares the provided against this cartographic componentwise and returns
<code>true</code> if they are equal, <code>false</code> otherwise.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>right</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The second cartographic.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5411">line 5411</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <code>true</code> if left and right are equal, <code>false</code> otherwise.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Boolean</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="equalsEpsilon"><span class="type-signature"></span>equalsEpsilon<span class="signature">(right<span class="signature-attributes">opt</span>, epsilon)</span><span class="type-signature"> &rarr; {Boolean}</span></h4>

    



<div class="description">
    Compares the provided against this cartographic componentwise and returns
<code>true</code> if they are within the provided epsilon,
<code>false</code> otherwise.
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>right</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cartographic.html">Cartographic</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last">The second cartographic.</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>epsilon</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last">The epsilon to use for equality testing.</td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5424">line 5424</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Boolean</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> &rarr; {String}</span></h4>

    



<div class="description">
    Creates a string representing this cartographic in the format '(longitude, latitude, height)'.
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.pure.js.html">CesiumVectorTile.pure.js</a>, <a href="CesiumVectorTile.pure.js.html#line5433">line 5433</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    A string representing the provided cartographic in the format '(longitude, latitude, height)'.
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">String</span>


    </dd>
</dl>

    



        
    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">主页</a></h2><h3>命名空间</h3><ul><li><a href="Cesium.html">Cesium</a></li><li><a href="Fullscreen.html">Fullscreen</a></li></ul><h3>类</h3><ul><li><h5><a href="Cesium.html">Cesium</a></h5></li><li><a href="Cesium.Path.html">Path</a></li><li><a href="Cesium.VectorStyle.html">VectorStyle</a></li><li><a href="Cesium.VectorTileImageryProvider.html">VectorTileImageryProvider</a></li></ul><h3>Modules</h3><ul><li><a href="module-clone.html">clone</a></li><li><a href="module-combine.html">combine</a></li><li><a href="module-defaultValue.html">defaultValue</a></li><li><a href="module-defined.html">defined</a></li><li><a href="module-destroyObject.html">destroyObject</a></li><li><a href="module-FeatureDetection.html">FeatureDetection</a></li><li><a href="module-getAbsoluteUri.html">getAbsoluteUri</a></li><li><a href="module-getBaseUri.html">getBaseUri</a></li><li><a href="module-getExtensionFromUri.html">getExtensionFromUri</a></li><li><a href="module-isArray.html">isArray</a></li><li><a href="module-Math.html">Math</a></li><li><a href="module-objectToQuery.html">objectToQuery</a></li><li><a href="module-queryToObject.html">queryToObject</a></li><li><a href="module-Request.html">Request</a></li><li><a href="module-RequestState.html">RequestState</a></li><li><a href="module-RequestType.html">RequestType</a></li><li><a href="module-TrustedServers.html">TrustedServers</a></li><li><a href="module-writeTextToCanvas.html">writeTextToCanvas</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Jul 23 2021 23:41:58 GMT+0800 (GMT+08:00)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>